<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        #cont{width: 1000px;border: solid 1px black;overflow: hidden;margin: 0 auto;}
        #cont .box{width: 250px;text-align: center;border: solid 1px black;box-sizing: border-box;float: left;}
        .box p{margin: 10px 0;}
        .box p:nth-child(3){line-height: 20px;height:40px;overflow: hidden;}
        #cont img{width: 200px;}
    </style>
</head>
<body>
    <h1>这是首页</h1>
    <p class="loginMsg">
        <a href="login.html">登录</a> |
        <a href="register.html">注册</a>
    </p>
    <p style="display:none" class="userMsg">
        欢迎
        <span>xxx</span>
        <a>退出</a>
    </p>
    <h3><a href="cart.html">去购物车</a></h3>

    <div id="cont">
        <p>卖完了，等待上架中...</p>
        <!-- <div class="box">
            <img src="" alt="">
            <p></p>
            <p></p>
        </div> -->
    </div>
</body>
<script src="libs/require.js" data-main="js/index.main"></script>
</html>
